use inc::Module::Install;

name 'ReefStats';
all_from 'lib/ReefStats.pm';

requires 'Catalyst::Runtime' => '5.7012';
requires 'Catalyst::Plugin::ConfigLoader';
requires 'Catalyst::Plugin::Static::Simple';
requires 'Catalyst::Action::RenderView';
requires 'YAML'; # This should reflect the config file format you've chosen
                 # See Catalyst::Plugin::ConfigLoader for supported formats

requires 'Catalyst::Helper::View::TT';

requires 'Catalyst::Plugin::Session';
requires 'Catalyst::Plugin::Session::State::Cookie';
requires 'Catalyst::Plugin::Session::Store::FastMmap';
requires 'Catalyst::Plugin::Authorization::Roles';
requires 'Catalyst::Plugin::Authorization::ACL';
requires 'Catalyst::Plugin::Authentication';
requires 'Catalyst::Plugin::Authentication::Store::DBIC';
requires 'Catalyst::Plugin::Authentication::Credential::Password';
requires 'Catalyst::Controller::FormBuilder';
requires 'Catalyst::Controller::REST';
requires 'Catalyst::Helper::Model::DBIC::Schema';
requires 'Catalyst::View::GD';
requires 'DBIx::Class::Schema::Loader';
requires 'DBD::mysql';
requires 'DateTime';
requires 'String::Random';
requires 'URI';
requires 'Crypt::CBC';
requires 'Crypt::DES';
requires 'DBIx::Class::InflateColumn::DateTime';
requires 'DateTime::Format::MySQL';
requires 'Hash::Merge';
requires 'GD::Graph';
requires 'XML::Simple';

catalyst;

install_script glob('script/*.pl');
auto_install;
WriteAll;
